package org.edu.modules.stu.zhsz.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.edu.common.base.BaseEntity;
import java.sql.Date;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;

/**
 * entity-修改申请表
 */
@TableName("ve_stu_check_modify")
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="修改申请表对象", description="ve_stu_check_modify")
public class VeStuCheckModify extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField
    @ApiModelProperty(value = "项目Id")
        private Integer itemId;

    @TableField
    @ApiModelProperty(value = "学生Id")
        private Integer stuId;

    @TableField
    @ApiModelProperty(value = "是否修改（0：未修改，1：申请中，2：已修改")
        private Integer status;

    @TableField
    @ApiModelProperty(value = "申请修改原因")
    @Length(max = 65535)
        private String reason;

    @TableField
    @ApiModelProperty(value = "修改人")
    @Length(max = 32)
        private String modifyUser;

    @TableField
    @ApiModelProperty(value = "修改人")
    @Length(max = 32)
        private String modifyUserName;

    @TableField
    @ApiModelProperty(value = "修改日志")
        @JsonFormat(timezone="GMT+8",locale="zh",  pattern="yyyy-MM-dd")
        private Date modifyTime;
}
